<?php
/* @var $this CmpDepositController */
/* @var $model CmpDeposit */

$this->breadcrumbs=array(
	'综合控制台'=>array($this->pre_module_url.'/index/index'),
	'网站配置'=>array($this->pre_module_url.'/setting/webconfig'),
	'邮件模板'=>array($this->pre_module_url.'/emailTemplates/admin'),
);

?>
<div class="pro_filter c_f">
	<div class="filter f_l">
		<form method="post" action="">
			<label>时间：
			<select name="" class="s_ipt w_120">
				<option selected="selected" value="0">近三个月</option>
				<option value="1">三个月之前</option>
			</select></label> 
			<input class="t_ipt w_250" type="text" name="" maxlength="50" value="请输入模板名称" onfocus="this.value=''" onblur="this.value='请输入模板名称'" />
			<button class="mem_bgx mem_btn01" type="submit" name="">查找</button>
		</form>
	</div>
</div>

<table class="list_table list_table2" cellpadding="0" cellspacing="0" width="100%">
	<tr>
		<th width="" class="pl15">模板名称</th>
		<th width="30%">创建时间</th>
		<th width="30%">创建人</th>
		<th width="15%">操作</th>
	</tr>
</table>

<?php   
$this->widget('zii.widgets.CListView', array(  
    'dataProvider'=>$model->search(),  
    'itemView'=>'_view',
    'selectAll'=>array('ids[]','id[]'),  
	'itemsTagName'=>'table',
	'itemsOptions'=>array('class'=>'list_table list_table2','width'=>'100%','cellpadding'=>0,'cellspacing'=>0),
    'artLink'=>array(  
        //批量删除
        array(Yii::t('adm','Delete All'),$this->pre_module_url.'/emailTemplates/delete','确认删除选中邮件模板！'),  
    ),  
    'batchItem'=>array(  
        //创建模板
        CHtml::link(Yii::t('adm','Template Add').'<b class="mem_bgx left"></b><b class="mem_bgx right"></b>',array('create'),array('class'=>'mem_bgx link_btn mr5')),  
    	//创建模板
	//	CHtml::link(Yii::t('adm','Sent Email').'<b class="mem_bgx left"></b><b class="mem_bgx right"></b>',array($this->pre_module_url.'/member/admin'),array('class'=>'mem_bgx link_btn mr5')),
	),  
    ));  
?> 

